//
//  FirstViewController.m
//  HWUI09_UITabBarController
//
//  Created by 崔将军 on 16/3/21.
//  Copyright © 2016年 崔将军. All rights reserved.
//

#import "FirstViewController.h"
#import "QQView.h"

@interface FirstViewController ()

@end

@implementation FirstViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.view.backgroundColor = [UIColor redColor];
    self.navigationController.title = @"第一页";
    
    [self createQQ];
}

- (void)createQQ {
    
    QQView *qqView = [[QQView alloc] initWithFrame:CGRectMake(100, 100, 200, 300)];
    
    [self.view addSubview:qqView];
    [qqView release];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
